<li>
  <label for="user_id"><?php echo $this->lang->line('label.promotion_download.user_id') ?></label>
  <div class="input"><?php
$ref_obj = $this->end_user_model->get($obj["end_user_id"]);
if ($ref_obj) {
 ?>
    <a href="<?php echo site_url('admin/'."end_user/show/" . $obj["end_user_id"]) ?>">
        <?php echo $this->end_user_model->to_string($ref_obj) ?></a>
    <?php } ?>
  </div>
</li><li>
  <label for="promotion_id"><?php echo $this->lang->line('label.promotion_download.promotion_id') ?></label>
  <div class="input"><?php
    $ref_obj = $this->promotion_model->get($obj["promotion_id"]);
    if ($ref_obj) {
      ?>
      <a href="<?php echo site_url('admin/'."promotion/show/" . $obj["promotion_id"]) ?>">
        <?php echo $this->promotion_model->to_string($ref_obj) ?></a>
    <?php } ?>
  </div>
</li>
<li>
  <label for="date_create"><?php echo $this->lang->line('label.promotion_download.date_create') ?></label>
  <div class="input">
    <?php echo empty($obj["date_create"]) ? '' : date($this->setting_model->item('date_format'), $obj["date_create"]) ?>
  </div>
</li>
<li>
  <label for="code"><?php echo $this->lang->line('label.promotion_download.code') ?></label>
  <div class="input"><?php echo $obj["code"] ?>
  </div>
</li>
<li>
  <label for="num_get"><?php echo $this->lang->line('label.promotion_download.num_get') ?></label>
  <div class="input"><?php echo $obj["num_get"] ?>
  </div>
</li>
<li>
  <label for="status"><?php echo $this->lang->line('label.promotion_download.status') ?></label>
  <div class="input">
    <?php
    $status_array = array(
        PROMOTION_DOWNLOAD_NEW => $this->lang->line('label.promotion.download.new'),
        PROMOTION_DOWNLOAD_GOT => $this->lang->line('label.promotion.download.got'),
        PROMOTION_DOWNLOAD_CANCEL => $this->lang->line('label.promotion.download.cancel'),
        PROMOTION_DOWNLOAD_REJECT => $this->lang->line('label.promotion.download.reject'));
    ?>
    <strong><?php echo empty($status[$obj['status']]) ? '' : $status[$obj['status']] ?></strong>
  </div>
</li>